package com.suse.service.admin.edu.model.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel(value = "UserLoginParam",description = "用户登录参数")
public class UserLoginParam {

    @ApiModelProperty(value = "用户名",required = true)
    @NotEmpty(message = "用户名不能为空")
    private String username;

    @ApiModelProperty(value = "用户密码",required = true)
    @NotEmpty(message = "用户密码不能为空")
    private String password;

}
